package com.itheima.pinda.mapper;

import com.itheima.pinda.DTO.entity.Areas;
import com.itheima.pinda.DTO.entity.Cities;

import java.util.List;

public interface AreasMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Areas record);

    int insertSelective(Areas record);

    Areas selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Areas record);

    int updateByPrimaryKey(Areas record);

    List<Areas> all();
    List<Areas> findareasbyid(Cities cities);
}